<?php
class Hello_Controller extends Controller{
		function helloworld(){
				echo 'hello world!';
		}
		function index(){
				echo 'hello from index!';
		}

		function hello($name){
        $w = new Widget('hello');
        $w->assign('name',$name);
        $lt = new Layout();
        $lt->set_title('hello test......');
        $lt->add_widget($w,'middle');
        $lt->display();
		}
}
?>